export const mockTabList = [
  {
    value: "0",
    label: "PDAL",
  },
  {
    value: "1",
    label: "LC&TL",
  },
  {
    value: "2",
    label: "AL&LL",
  },
  {
    value: "3",
    label: "GL",
  },
  {
    value: "4",
    label: "Support",
  },
  {
    value: "5",
    label: "EA211",
  },
];

export const mockProcessList = [
  "后处理、砂处理设备巡检",
  "清理设备巡检",
  "熔炼、浇注设备巡检",
  "造型设备巡检",
  "制芯设备巡检",
];

export const mockData = {
  yearOrderTotalNumber: {
    name: "2025年",
    data: [
      {
        name: "EA211",
        value: 25,
      },
      {
        name: "LC&TL",
        value: 15,
      },
      {
        name: "AL&LL",
        value: 23,
      },
      {
        name: "Support",
        value: 20,
      },
      {
        name: "GL",
        value: 34,
      },
    ],
    xdataIndex: [],
    ydata: [],
    xdata: [],
  },
  yearOrderCloseRate: {
    name: "2025年",
    data: null,
    xdataIndex: [],
    ydata: [5, 6, 14, 17, 25],
    xdata: [
      "清理设备巡检",
      "熔炼、浇注设备巡检",
      "造型设备巡检",
      "制芯设备巡检",
      "后处理、砂处理设备巡检",
    ],
  },
  yearOrderCloseRate1: {
    name: "2025年",
    data: null,
    xdataIndex: [],
    ydata: [2, 7, 11, 15, 21],
    xdata: ["质量部", "后处理工序", "浇注工序", "熔炼工序", "砂处理工序"],
  },
  monthOrderBuildNumber: {
    name: "2025年",
    data: [
      {
        name: "维修A组",
        value: 63,
      },
      {
        name: "维修B组",
        value: 44,
      },
      {
        name: "维修C组",
        value: 25,
      },
      {
        name: "维修D组",
        value: 4,
      },
    ],
    xdataIndex: [],
    ydata: [],
    xdata: [],
  },
  monthOrderCloseNumber: {
    name: null,
    data: [
      {
        name: "EA211",
        value: 4,
      },
      {
        name: "LC&TL",
        value: 5,
      },
      {
        name: "AL&LL",
        value: 8,
      },
      {
        name: "Support",
        value: 6,
      },
      {
        name: "GL",
        value: 12,
      },
    ],
    xdataIndex: [],
    ydata: [],
    xdata: [],
  },
  yearOrderTrend: [
    {
      name: "工单总数",
      data: null,
      xdataIndex: [],
      ydata: [282, 101, 159, 190, 138, 170, 145, 175, 211, 123, 96, 198],
      xdata: [
        "1月",
        "2月",
        "3月",
        "4月",
        "5月",
        "6月",
        "7月",
        "8月",
        "9月",
        "10月",
        "11月",
        "12月",
      ],
    },
    // {
    //   name: "工单关闭数",
    //   data: null,
    //   xdataIndex: [],
    //   ydata: [300, 350, 100],
    //   xdata: ["2023", "2024", "2025"],
    // },
  ],
  yearOrderTrend1: [
    {
      name: "次数",
      data: null,
      xdataIndex: [],
      ydata: [145, 175, 211, 123, 96, 198, 96, 211, 123, 198],
      xdata: [
        "王帅",
        "张亮",
        "李秀富",
        "王军",
        "王洪飞",
        "李岩",
        "张海波",
        "王小利",
        "刘凯",
        "孙玉",
      ],
    },
    // {
    //   name: "工单关闭数",
    //   data: null,
    //   xdataIndex: [],
    //   ydata: [300, 350, 100],
    //   xdata: ["2023", "2024", "2025"],
    // },
  ],
  yearOrderTrend2: [
    {
      name: "维修A班",
      data: null,
      xdataIndex: [],
      ydata: [145, 120, 211, 56, 96, 198, 96, 180, 123, 56, 98, 48],
      xdata: [
        "1月",
        "2月",
        "3月",
        "4月",
        "5月",
        "6月",
        "7月",
        "8月",
        "9月",
        "10月",
        "11月",
        "12月",
      ],
    },
    {
      name: "维修B班",
      data: null,
      xdataIndex: [],
      ydata: [36, 175, 19, 123, 96, 198, 96, 52, 123, 198, 98, 38],
      xdata: [
        "1月",
        "2月",
        "3月",
        "4月",
        "5月",
        "6月",
        "7月",
        "8月",
        "9月",
        "10月",
        "11月",
        "12月",
      ],
    },
    {
      name: "维修C班",
      data: null,
      xdataIndex: [],
      ydata: [96, 175, 36, 123, 96, 80, 96, 20, 123, 56, 50, 18],
      xdata: [
        "1月",
        "2月",
        "3月",
        "4月",
        "5月",
        "6月",
        "7月",
        "8月",
        "9月",
        "10月",
        "11月",
        "12月",
      ],
    },
    {
        name: "维修D班",
        data: null,
        xdataIndex: [],
        ydata: [45, 75, 21, 23, 66, 18, 6, 11, 13, 18, 38, 18],
        xdata: [
          "1月",
          "2月",
          "3月",
          "4月",
          "5月",
          "6月",
          "7月",
          "8月",
          "9月",
          "10月",
          "11月",
          "12月",
        ],
      },
  ],
  monthOrderTrend: [
    {
      name: "次数",
      data: null,
      xdataIndex: [],
      ydata: [20, 30, 33, 44],
      xdata: ["1", "2", "3", "4"],
    },
    {
      name: "数量",
      data: null,
      xdataIndex: [],
      ydata: [18, 32, 34, 40],
      xdata: ["1", "2", "3", "4"],
    },
  ],
  orderListByFrequency: [
    {
      processCode: "GL",
      equipName: "GL32_Schaudt",
      projectName: "CAF",
      productModel: "788094",
      programName: "788094-TTTTT1.79 12I",
      parameterDesc: "工件原点偏置，Z, 1通道",
      processDataType: "2",
      orderCount: 4,
      responsiblePersonName: null,
      collectionTime: null,
      lastUpdateTime: null,
      retentionTime: null,
      actualResponsiblePersonName: null,
    },
    {
      processCode: "LC",
      equipName: "EMA",
      projectName: "VW",
      productModel: "722373",
      programName: "ZF-722373-J",
      parameterDesc: "淬火液温度实际值",
      processDataType: "2",
      orderCount: 3,
      responsiblePersonName: "user1",
      collectionTime: null,
      lastUpdateTime: null,
      retentionTime: null,
      actualResponsiblePersonName: null,
    },
    {
      processCode: "GL",
      equipName: "GL32_Schaudt",
      projectName: "CAF",
      productModel: "788094",
      programName: "788094-TTTTT1.79 12I",
      parameterDesc: "金刚蝶余量",
      processDataType: "2",
      orderCount: 1,
      responsiblePersonName: null,
      collectionTime: null,
      lastUpdateTime: null,
      retentionTime: null,
      actualResponsiblePersonName: null,
    },
    {
      processCode: "GL",
      equipName: "GL32_Schaudt",
      projectName: "CAF",
      productModel: "788094",
      programName: "788094-TTTTT1.79 12I",
      parameterDesc: "工件原点偏置，Z, 1通道",
      processDataType: "2",
      orderCount: 1,
      responsiblePersonName: "何文亮",
      collectionTime: null,
      lastUpdateTime: null,
      retentionTime: null,
      actualResponsiblePersonName: null,
    },
    {
      processCode: "GL",
      equipName: "GL32_Schaudt",
      projectName: "CAF",
      productModel: "788094",
      programName: "788094-TTTTT1.79 12I",
      parameterDesc: "4号主轴尺寸补偿",
      processDataType: "2",
      orderCount: 1,
      responsiblePersonName: "何文亮",
      collectionTime: null,
      lastUpdateTime: null,
      retentionTime: null,
      actualResponsiblePersonName: null,
    },
  ],
  orderListByDealTime: [
    {
      processCode: "LC",
      equipName: "LC07_EMA",
      projectName: "BMW",
      productModel: "729241",
      programName: "ZF-729241-A",
      parameterDesc: "淬火液温度实际值",
      processDataType: null,
      orderCount: null,
      responsiblePersonName: null,
      collectionTime: "2025-03-11 16:33:00",
      lastUpdateTime: "2025-03-18 10:03:46",
      retentionTime: 838,
      actualResponsiblePersonName: "王文武",
    },
    {
      processCode: "GL",
      equipName: "GL32_Schaudt",
      projectName: "CAF",
      productModel: "788094",
      programName: "788094-TTTTT1.79 12I",
      parameterDesc: "工件原点偏置，Z, 1通道",
      processDataType: null,
      orderCount: null,
      responsiblePersonName: null,
      collectionTime: "2025-04-03 13:35:58",
      lastUpdateTime: "2025-04-05 14:23:48",
      retentionTime: 49,
      actualResponsiblePersonName: null,
    },
    {
      processCode: "GL",
      equipName: "GL32_Schaudt",
      projectName: "CAF",
      productModel: "788094",
      programName: "788094-TTTTT1.79 12I",
      parameterDesc: "工件原点偏置，Z, 1通道",
      processDataType: null,
      orderCount: null,
      responsiblePersonName: null,
      collectionTime: "2025-04-03 10:14:04",
      lastUpdateTime: "2025-04-05 11:24:22",
      retentionTime: 49,
      actualResponsiblePersonName: null,
    },
    {
      processCode: "GL",
      equipName: "GL32_Schaudt",
      projectName: "CAF",
      productModel: "788094",
      programName: "788094-TTTTT1.79 12I",
      parameterDesc: "工件原点偏置，Z, 1通道",
      processDataType: null,
      orderCount: null,
      responsiblePersonName: null,
      collectionTime: "2025-04-03 13:42:40",
      lastUpdateTime: "2025-04-05 14:26:51",
      retentionTime: 49,
      actualResponsiblePersonName: "王文武",
    },
    {
      processCode: "GL",
      equipName: "GL32_Schaudt",
      projectName: "CAF",
      productModel: "788094",
      programName: "788094-TTTTT1.79 12I",
      parameterDesc: "工件原点偏置，Z, 1通道",
      processDataType: null,
      orderCount: null,
      responsiblePersonName: null,
      collectionTime: "2025-04-03 10:12:47",
      lastUpdateTime: "2025-04-05 10:49:24",
      retentionTime: 48,
      actualResponsiblePersonName: null,
    },
  ],
};
